package com.yy.common.base;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

/**
 *
 * Created by Ellis.Li on 2017/6/14.
 */
public class BaseAdapter extends android.widget.BaseAdapter {
    public  Context mContext;
    public LayoutInflater layoutInflater;

    public BaseAdapter(Context context) {
        this.mContext = context;
        layoutInflater = LayoutInflater.from(context);
    }
    public void removeItem(int position){

    }
    public void clearData(){

    }

    @Override
    public int getCount() {
        return 0;
    }

    @Override
    public Object getItem(int i) {
        return null;
    }

    @Override
    public long getItemId(int i) {
        return 0;
    }

    @Override
    public View getView(int i, View view, ViewGroup viewGroup) {
        return null;
    }

    class BaseViewHolder {
        void initView(View view) {

        }
    }
}
